package com.starry.crawler_shop.entity;

import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author Chao
 * @since 2021-04-19 15:46:54
 */
public class Product implements Serializable {
	private static final long serialVersionUID = -95566437889045520L;

	private Integer id;
	/**
	 * 商品标题
	 */
	private String title;
	/**
	 * 商品价格
	 */
	private Double price;
	/**
	 * 商品图片地址
	 */
	private String imgUrl;
	/**
	 * 商品地址
	 */
	private String url;
	/**
	 * 评论数量
	 */
	private String commentAmount;
	/**
	 * 好评率
	 */
	private Integer goodRate;
	/**
	 * 商品来源
	 */
	private String source;
	/**
	 * 关联搜索id
	 */
	private Integer sId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getCommentAmount() {
		return commentAmount;
	}

	public void setCommentAmount(String commentAmount) {
		this.commentAmount = commentAmount;
	}

	public Integer getGoodRate() {
		return goodRate;
	}

	public void setGoodRate(Integer goodRate) {
		this.goodRate = goodRate;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getSId() {
		return sId;
	}

	public void setSId(Integer sId) {
		this.sId = sId;
	}

	@Override
	public String toString() {
		return "Product{" +
				"id=" + id +
				", title='" + title + '\'' +
				", price=" + price +
				", imgUrl='" + imgUrl + '\'' +
				", url='" + url + '\'' +
				", commentAmount='" + commentAmount + '\'' +
				", goodRate=" + goodRate +
				", source='" + source + '\'' +
				", sId=" + sId +
				'}';
	}
}
